package com.example.ymm.modules1.entity.my.user;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 班级
 */

@Data
public class DbClazz implements Serializable {

    @TableId
    private String clazzId;

    private String clazzName;



    @Schema(name= "是否删除：0->未删；1->已删")
    @TableLogic
    private Integer isDelete;

    @TableField(fill= FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;


    @TableField(exist = false)
    List<DbClazzLevel> clazzLevels;

}
